<!-- INCLUDE overall_header.html -->
<div class="sidebar">
<!-- INCLUDE sidebar.html -->
</div>
<div class="content">
<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<strong><span style="color: #FF0000;">&bull;&nbsp;{L_FORUM_RULES}</span></strong><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<strong><span style="color: #FF0000;">&bull;&nbsp;{L_FORUM_RULES}</span></strong><br />{FORUM_RULES}
		<!-- ENDIF -->
	</div>
<br clear="all" />
<!-- ENDIF -->

<div id="pagecontent">

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
	</tr>
	</table>

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="row1">
			<table width="100%" cellspacing="0">
			<tr>
				<td class="nav" nowrap="nowrap">
				<!-- IF not S_IS_BOT -->
					<!-- IF U_WATCH_TOPIC --><span class="watch"><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></span>&nbsp;<!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --><!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC -->&nbsp;<span class="mark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></span>&nbsp;<!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --><!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_PRINT_TOPIC -->&nbsp;<span class="print"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a></span>&nbsp;<!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --><!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_EMAIL_TOPIC -->&nbsp;<span class="email"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a></span>&nbsp;<!-- IF U_BUMP_TOPIC --><!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC -->&nbsp;<a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
				<!-- ENDIF -->
				</td>
				<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"></td>
			</tr>
			</table>
		</td>
		</tr>
<!-- IF S_HAS_POLL -->
	<tr>
		<td class="row1" colspan="2" align="center"><br clear="all" />

			<form method="post" action="{S_POLL_ACTION}">

			<table cellspacing="0" cellpadding="4" border="0" align="center">
			<tr>
				<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
			</tr>
			<tr>
				<td align="{S_CONTENT_FLOW_BEGIN}">
					<table cellspacing="0" cellpadding="2" border="0">
				<!-- BEGIN poll_option -->
					<tr>
					<!-- IF S_CAN_VOTE -->
						<td>
							<!-- IF S_IS_MULTI_CHOICE -->
								<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ELSE -->
								<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ENDIF -->
						</td>
					<!-- ENDIF -->
						<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
						<!-- IF S_DISPLAY_RESULTS -->
							<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
							<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
							<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
							<!-- IF poll_option.POLL_OPTION_VOTED -->
								<td class="gensmall" valign="top"><img src="{T_THEME_PATH}/images/poll_voted.gif" alt="{L_POLL_VOTED_OPTION}"></td>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</tr>
				<!-- END poll_option -->
					</table>
				</td>
			</tr>
		<!-- IF S_CAN_VOTE -->
			<tr>
				<td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
			</tr>
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_RESULTS -->
			<tr>
				<td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
			</tr>
		<!-- ELSE -->
			<tr>
				<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
			</tr>
		<!-- ENDIF -->
			</table>
			{S_HIDDEN_FIELDS}
			
			</form>
			
		</td>
	</tr>
<!-- ENDIF -->
	</table>

<!-- BEGIN postrow -->
	<table class="tablebg" width="100%" cellspacing="1" style="margin-top: 5px;">
		<tr class="row1">
	<!-- IF postrow.S_IGNORE_POST -->
			<td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
	<!-- ELSE -->
			<td width="100%" height="25" class="cat" colspan="2">
				<table width="100%" cellspacing="0">
				<tr>
					<td class="gennormal" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->&nbsp;{postrow.POST_SUBJECT}</strong></div><div style="float: {S_CONTENT_FLOW_END};">{L_POSTED}: {postrow.POST_DATE}&nbsp;</div></td>
				</tr>
				</table>
			</td>
		</tr>
		<!-- IF postrow.S_FIRST_ROW -->
		<tr>
			<td class="row1"><!-- INCLUDE searchbox.html --></td>
			<td class="row1"><!-- IF U_MCP --><p class="linkmcp"><a href="{U_MCP}">{L_MCP}</a></p><!-- ENDIF --></td>
		</tr>
		<!-- ENDIF -->
		<tr>
			<td class="row1" colspan="2">
				<table width="100%" cellspacing="0"><tr>
					<td style="width: 150px;padding: 10px;"><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a></td>
					<td style="width: 320px;text-align: left">
						<a href="{postrow.U_POST_AUTHOR}" class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</a>&nbsp;{postrow.ONLINE_IMG}
						<p class="gennormal">{postrow.RANK_TITLE}</p>
						<p style="margin-top: 3px;">{postrow.RANK_IMG}</p>
						<!-- IF postrow.PERSONAL_RANK --><p class="gensmall" style="color: #008000;">{postrow.PERSONAL_RANK}</p><!-- ENDIF -->
					</td>
					<td valign="top" width="300">
					<span class="postdetails">
					<!-- IF postrow.POSTER_JOINED --><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
					<!-- IF postrow.S_PROFILE_FIELD1 -->
						<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
						<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
					<!-- ENDIF -->
					<!-- BEGIN custom_fields -->
						<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
					<!-- END custom_fields -->
					<!-- IF postrow.U_PROFILE -->
					<br /><b>{L_THANKS}:</b> {postrow.POSTER_THANKS}<br /><b>{L_THANKED}:</b> {postrow.POSTER_THANKED} {L_IN} {postrow.POSTER_THANKS_POST}
					<!-- ENDIF -->
				</span>
					</td>
				</tr></table>
			</td>
		</tr>
		<tr class="row1">
			<td valign="top" colspan="2">
				<table width="100%" cellspacing="5">
				<tr>
					<td>
					<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
						<table width="100%" cellspacing="0">
						<tr>
							<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
						</tr>
						</table>
						<br clear="all" />
					<!-- ENDIF -->
						<div class="postbody">{postrow.MESSAGE}</div>
					<!-- IF postrow.S_HAS_ATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN attachment -->
							<tr>
								<!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row1"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
							</tr>
						<!-- END attachment -->
						</table>
					<!-- ENDIF -->
<!-- IF postrow.S_FIRST_ROW -->
<div style="font: 9pt Tahoma;margin-top: 20px;text-align: center;">
<strong>Copy link dưới đây gửi đến nick Yahoo bạn bè của bạn nhé!</strong><br />
<textarea readonly="readonly" onclick="this.select()" class="yahoo">{TOPIC_TITLE}: http://thptphamngulao.tk/viewtopic.php?f={postrow.FORUM_ID}&t={postrow.TOPIC_ID}#p{postrow.POST_ID}</textarea>
</div>
<!-- ENDIF -->

					<!-- IF postrow.S_DISPLAY_NOTICE -->
						<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
					<!-- ENDIF -->
					<!-- IF postrow.SIGNATURE -->
						<fieldset>
						<legend><span class="gensmall" style="color: #000000;">{L_SIGNATURE}: </span></legend>
						{postrow.SIGNATURE}
						</fieldset><br />
					<!-- ENDIF -->
					<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
						<!-- IF postrow.EDIT_REASON -->
							<br />
							<table class="tablebg" width="100%" cellspacing="1">
							<tr>
								<td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
							</tr>
							<tr>
								<td class="row1"><span class="genmed">{postrow.EDIT_REASON}</span></td>
							</tr>
							</table>
						<!-- ELSE -->
							<br />
							<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
						<!-- ENDIF -->
					<!-- ENDIF -->

					<!-- IF postrow.BUMPED_MESSAGE -->
						<span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
					<!-- ENDIF -->

						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
							<!-- IF not S_IS_BOT -->
								<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
							<!-- ENDIF -->
							</td>
						</tr>
						</table>
					</td>
				</tr>
				</table>
			</td>
		</tr>

		<tr class="row1">
			<td colspan="2"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF S_USER_LOGGED_IN --><!-- IF THANKS_ENABLE --><!-- IF postrow.S_GIVE_THANKS --><a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethanks.gif" alt="{L_THANKS_REMOVE}"/></a><!-- ENDIF --><!-- IF postrow.S_FIRST_POST and not postrow.S_GIVE_THANKS and not postrow.S_IS_OWN_POST --><a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/thankposts.gif" alt="{L_THANKS1}" /></a><!-- ENDIF --><!-- ENDIF -->&nbsp;<!-- ENDIF --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF -->&nbsp;<a href="#wrapheader"><img src="{T_THEME_PATH}/images/top.gif" alt="{L_BACK_TO_TOP}" /></a></div></td>
	<!-- ENDIF -->
		</tr>
		<!-- IF postrow.S_FIRST_POST and postrow.THANKS_LIST -->
		<tr class="row2">
			<td style="text-align: left;font: 9pt Tahoma;padding: 5px;" colspan="2"><strong>{postrow.THANKS_FROM}:</strong><br /> {postrow.THANKS_LIST}</td>
		</tr>
		<!-- ENDIF -->
	</table>
<!-- END postrow -->
	
<!-- INCLUDE quickreply_body.html -->

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
	</tr>
	</table>
	<p align="center"><span class="prev"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a></span>&nbsp;|&nbsp;<!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT -->&nbsp;<span class="unread"><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a></span>&nbsp;|&nbsp;<!-- ENDIF --><span class="next"><a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a></span></p>
</div>

<br clear="all" />
<!-- IF S_DISPLAY_ONLINE_LIST -->
	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<th align="left"><span class="stats">{L_WHO_IS_ONLINE}</span></th>
		<!-- IF MODERATORS --><th align="left" width="200"><span class="stats"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF --></span></th><!-- ENDIF -->
	</tr>
	<tr>
		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
		<!-- IF MODERATORS --><td class="row1"><p class="gensmall">{MODERATORS}</p></td><!-- ENDIF -->
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<!-- IF S_DISPLAY_POST_INFO -->
<div style="float: left;text-align: left;"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></div>
<div style="width: 380px;float: right;text-align: right;"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span><br /><!-- INCLUDE jumpbox.html --></div>
<!-- ENDIF -->

</div>
<div class="buttons">
			<div class="post-icon"><a href="./posting.php?style=3&amp;mode=post&amp;f=2" title="Tạo chủ đề mới"><span></span>Tạo chủ đề mới</a></div>
		</div>
<!-- INCLUDE overall_footer.html -->